﻿/*
 * ========================================================================
 * Copyright(c) 2007-2012 情留メ蚊子, All Rights Reserved.
 * Welcom use the LiteFetion.
 * See more information,Please goto http://www.94qing.com
 * ========================================================================
 * 
 * 作 者：情留メ蚊子
 * Q  Q: 540644769
 * 邮 箱：qlwz@qq.com
 * 网 址：http://www.94qing.com
 * ========================================================================
*/

namespace LiteFetion.Model
{
    /// <summary>
    /// 验证码
    /// </summary>
    public class VerifyImage
    {
        /// <summary>
        /// 登录的验证图片
        /// </summary>
        public const string TYPE_LOGIN = "ccpsession";

        /// <summary>
        /// 添加好友的验证图片
        /// </summary>
        public const string TYPE_ADD_BUDDY = "addbuddy_ccpsession";

        /// <summary>
        /// 用户输入的验证码
        /// </summary>
        public string VerifyCode { get; set; }

        /// <summary>
        /// 原始的验证图片数据
        /// </summary>
        public byte[] ImageData { get; set; }

        /// <summary>
        /// 这个验证图片对应的验证图片ID
        /// </summary>
        public string SessionId { get; set; }

        /// <summary>
        /// 验证类型，VerifyImage.TYPE_LOGIN or VerifyImage.TYPE_ADD_BUDDY
        /// </summary>
        public string VerifyType { get; set; }
    }
}
